package com.tanhua.dubbo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.domain.SoulTest.SoulQuestion;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
/**
 * @author 钱柏羽
 * 问题查询sql
 */
public interface SoulQuestionMapper extends BaseMapper<SoulQuestion> {

    @Select("SELECT id,question FROM tb_survey_question WHERE sid=#{sid}")
    List<SoulQuestion> findBySid(@Param("sid") String sid);
}
